<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane :label='$t("Nav.recommend")' name="first">推荐</el-tab-pane>
    <el-tab-pane :label='$t("Nav.hotList")' name="second"><HostList></HostList></el-tab-pane>
    <el-tab-pane :label='$t("Nav.attention")' name="third">关注</el-tab-pane>
  </el-tabs>
</template>

<script>
import HostList from '@/views/Home/components/hotList.vue'
export default {
  data() {
    return {
      activeName: "second",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
  components: {HostList},
};
</script>